﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.MaterialManagement.Add
{
    public class OutBundCreateCommon : IRequest<Result>
    {
        public int BoundId { get; set; }
        /// <summary>
        /// 出库单编码
        /// </summary>
        public string BoundNo { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public int BoundType { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string WarehouseAddress { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string BoundRemark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 出库来源
        /// </summary>
        public int BoundSource { get; set; }
        /// <summary>
        /// 来源头编码
        /// </summary>
        public string SourceNo { get; set; }
        /// <summary>
        /// 来源头名称
        /// </summary>
        public string SourceName { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 客户联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime BoundDate { get; set; }
        /// <summary>
        /// 出库状态
        /// </summary>
        public int BoundState { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string BoundPeople { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>
        public string BoundDepartment { get; set; }
        public string Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
